﻿<html>
<head>
      

                <style type="text/css">

.new_F4 {
	FONT-SIZE: 14px ;color:#404042; font-weight: bold;
}
</style>
      
                    <style type="text/css">

.samesortgoods_L17 {
	LINE-HEIGHT: 230%
}
.samesortgoods_F3 {
	FONT-SIZE: 12px ;color:#A8A7A7; 
}
A.samesortgoods_A1:link {
	FONT-SIZE: 12px; COLOR: #554F4F; TEXT-DECORATION: none
}
A.samesortgoods_A1:active {
	FONT-SIZE: 12px; COLOR: #554F4F; TEXT-DECORATION: underline
}
A.samesortgoods_A1:visited {
	FONT-SIZE: 12px; COLOR: #554F4F; TEXT-DECORATION: none
}
A.samesortgoods_A1:hover {
	FONT-SIZE: 12px; COLOR: #554F4F; TEXT-DECORATION: underline
}
</style>
    <title>北京市新华书店王府井书店 - 网上书店80折起，购书满99元免运费！</title>
    <meta content="北京市新华书店王府井书店，致力于提供专业化购书服务.网上购书选择新华书店王府井书店(网上书店),购书放心有保障.王府井书店电话:010-65132842.010-65252592" name="description" />
    <meta content="王府井书店 新华书店 网上书店 网上购书 北京图书大厦" name="keywords">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <link href="/css/index.css" rel="stylesheet" type="text/css">
    <link href="/Template/css.css" rel="stylesheet" />
    <link href="/Template/css1.css" rel="stylesheet" />
    <link href="/Css/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" />
    <script src="/js/jquery-1.7.1.js"></script>
    <script src="/js/jquery-ui-1.8.2.custom.min.js"></script>
    <script src="/ckeditor/ckeditor.js"></script>
    <script type="text/javascript">
        $(function () {
            loadComment();//加载评论内容
            loadUBBCode();//加载UBB编辑器
            checkUserState();//判断用户是否登录
            $("#btnAddComment").click(function () {
                addComment();//添加评论
            });
            //跳转登录页面
            $("#locationLogin").click(function () {
                showLoginUrl();
            });
            //添加商品到购物车.
            $("#btnAddCart").click(function () {
                addProductCart();
            });
        });
        //将商品添加到购物车。
        function addProductCart() {
            //判断用户是否登录
            $.post("/ashx/CheckUserLogin.ashx", {}, function (data) {
                var serverData = data.split(':');
                if (serverData[0] == "yes") {
                    $.post("/ashx/ProcessCart.ashx", { "bookId": 4944 }, function (data) {
                        if (data == "yes") {
                            $("#showCartMsg").text("商品已经添加到购物车中");
                            $("#showDialogMessage").dialog({
                                modal: true,
                                buttons: {
                                    Ok: function () {
                                        $(this).dialog("close");
                                    }
                                }
                            });
                        } else {
                            alert("添加商品失败");
                        }
                    });
                } else {
                    $("#showUserLoginMsg").text(serverData[1]);
                    $("#dialog-message").dialog({
                        modal: true,
                        buttons: {
                            Ok: function () {
                                $(this).dialog("close");
                            }
                        }
                    });
                }
            });
        }

        //加载评论
        function loadComment() {
            $.post("/ashx/ProcessComment.ashx", { "bookId": 4944,"action":"load"}, function (data) {
                var serverData = $.parseJSON(data);
                var serverDataLenght = serverData.length;
                for (var i = 0; i < serverDataLenght; i++) {
                    $("<li style='float:none;text-align:left;font-size:14px'>" + serverData[i].CreateDateTime + ":" + serverData[i].Msg + "</li>").appendTo("#commentList");
                }
            });
        }
        //添加评论
        function addComment() {
            // var msg = $("#txtComment").val();
            var oEditor = CKEDITOR.instances.txtComment;
            var msg = oEditor.getData();//获取编辑器中的值.
            if (msg != "") {
                $.post("/ashx/CheckUserLogin.ashx", {}, function (data) {//判断用户是否登录
                    var serverData = data.split(':');
                    if (serverData[0] == "yes") {
                        $.post("/ashx/ProcessComment.ashx", { "msg": msg, "bookId": 4944, "action": "add" }, function (serverData) {
                            var data = serverData.split(':');
                            if (data[0] == "ok") {
                                $("#commentList li").remove();
                                //$("#txtComment").val("");
                                oEditor.setData("");
                                loadComment();
                            } else {
                                alert(data[1]);
                            }
                        });
                    } else {
                        //如果没有登录，给出提示。
                        $("#showUserLoginMsg").text(serverData[1]);
                        $("#dialog-message").dialog({
                            modal: true,
                            buttons: {
                                Ok: function () {
                                    $(this).dialog("close");
                                }
                            }
                        });
                    }
                });
                
            } else {
                alert("评论内容不能为空!!");
            }
        }
        //判断用户是否登录.
        function checkUserState() {
            $.post("/ashx/CheckUserLogin.ashx", {}, function (data) {
                var serverData = data.split(':');
                if (serverData[0] == "yes") {
                    $("#showUserName").text(serverData[1]);
                } else {
                    $("#showLoginInfo").css("display","block");
                }
            });
        }
        //跳转登录页面
        function showLoginUrl() {
            var url=window.location.href;
            window.location.href = "/Account/Login.aspx?returnUrl=" + url;
        }
        //加载UBB编辑器
        function loadUBBCode() {
            CKEDITOR.replace('txtComment',
	{
	    extraPlugins: 'bbcode',
	    removePlugins: 'bidi,button,dialogadvtab,div,filebrowser,flash,format,forms,horizontalrule,iframe,indent,justify,liststyle,pagebreak,showborders,stylescombo,table,tabletools,templates',
	    toolbar:
		[
			['Source', '-', 'Save', 'NewPage', '-', 'Undo', 'Redo'],
			['Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
			['Link', 'Unlink', 'Image'],
			'/',
			['FontSize', 'Bold', 'Italic', 'Underline'],
			['NumberedList', 'BulletedList', '-', 'Blockquote'],
			['TextColor', '-', 'Smiley', 'SpecialChar', '-', 'Maximize']
		],
	    smiley_images:
		[
			'regular_smile.gif', 'sad_smile.gif', 'wink_smile.gif', 'teeth_smile.gif', 'tounge_smile.gif',
			'embaressed_smile.gif', 'omg_smile.gif', 'whatchutalkingabout_smile.gif', 'angel_smile.gif', 'shades_smile.gif',
			'cry_smile.gif', 'kiss.gif'
		],
	    smiley_descriptions:
		[
			'smiley', 'sad', 'wink', 'laugh', 'cheeky', 'blush', 'surprise',
			'indecision', 'angel', 'cool', 'crying', 'kiss'
		]
	});
        }
    </script>
    <style type="text/css">

.samesortgoods_L17 {
	LINE-HEIGHT: 230%
}
.samesortgoods_F3 {
	FONT-SIZE: 12px ;color:#A8A7A7; 
}
.new_F4 {
	FONT-SIZE: 14px ;color:#404042; font-weight: bold;
}

/*修改编辑器的样式*/
        #cke_txtComment {
        width:650px;
        }

        </style>
</head>


<body>

        <center>

<div class="top">
	<div class="m_c" style="width: 736px; height: 27px">
	<span class="l">
      <a href="http://www.beifabook.com" target="_blank">北发图书网主网站</a> |&nbsp;
      <a href="http://www.bjbb.com" target="_blank">北京图书大厦</a>&nbsp; |
      <a href="../default.aspx" target="_blank"><font color="#00A0E9">王府井书店</font></a>&nbsp;|
      <a href="http://www.zgcbb.com/" target="_blank">中关村图书大厦</a>&nbsp; |
      <a href="http://www.yycbook.com/" target="_blank">亚运村图书大厦</a>&nbsp; |
      <a href="http://www.hs-book.com" target="_blank">花市书店</a>&nbsp; |
	  <a href="/OrderInfo.aspx" >我的订单</a> &nbsp;&nbsp;     
	
    
    </span><span id="showUserName" style="font-size:14px;color:red"></span>
    <span id="showLoginInfo" style="font-size:14px;color:red;display:none">登录</span></div></div>


	<div style="WIDTH: 750px; text-align: left;"><img src="/images/集团网站1.jpg" width="780" height="93" /><br />
&nbsp;&nbsp;&nbsp;&nbsp;         </div>


<div id="main_box">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="800">
        <tr>
            
    
	<!-- 中间占位的空单元格 -->
            
    
	<!-- 中间占位的空单元格 -->
            <td align="center" valign="top" width="924">
     <!-- 装右侧内容的单元格 -->

                <style type="text/css">

.new_F4 {
	FONT-SIZE: 14px ;color:#404042; font-weight: bold;
}
</style>
                <table bgcolor="#F3F3F5" border="0" cellpadding="5" cellspacing="0" height="41" width="100%">
                    <tr>
                        <td valign="middle" width="10">&nbsp;</td>
                        <td valign="middle">
                            <h1 class="new_F4" style="margin-bottom:0px;">C程序设计语言（第3版·新版） <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td align="right" valign="middle"><a class="A21" href="javascript:void(0)" 推荐给朋友</a></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <table border="0" cellpadding="8" cellspacing="0" width="100%">
                    <tr>
                        <td align="center" valign="top" width="152">
                            <table border="0" cellpadding="0" cellspacing="0" height="216" width="150">
                                <tr>
                                    <td>
                                        <img alt="C程序设计语言（第3版·新版）" border="1" height="216"  src="/Images/BookCovers/9787111128069.jpg" style="border:1px   solid   #B0B0B0" title="C程序设计语言（第3版·新版）" width="150" /></td>
                                </tr>
                            </table>
                        </td>
                        <td valign="top" width="564">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td height="31" valign="bottom"><font class="F24"><del>定价：￥42.0</del><table border="0" cellpadding="4" cellspacing="0" width="100%">
                                <tr>
                                    <td align="left" class="L14" valign="top" width="50%"><font class="F24">作者：（美）克尼汉，（美）里奇 著，徐宝文，李志 译
                                        <br />
                                        书名：C程序设计语言（第3版·新版）<br />
                                        字数：0<br />
                                        出版时间：2004/1/8<br />
                                        版&nbsp;&nbsp;&nbsp;&nbsp;次： 
                                        <br />
		                <!-- 印刷时间： 2008/03/01<br>  -->
		                                印&nbsp;&nbsp;&nbsp;&nbsp;次：<br />
                                        I S B N ： 9787111128069<br />
                                        <font color="#CC3300">本网价：<strong>￥33.00</strong></font></font></td>
                                    <td align="left" class="L14" valign="top" width="50%">
                                        <p>
                                            <br />
                                            <br />
                                            <font class="F24">&nbsp;<br />
                                            页&nbsp;&nbsp;&nbsp;&nbsp;数： 
                                            <br />
                                            开&nbsp;&nbsp;&nbsp;&nbsp;本： 
                                            <br />
                                            纸&nbsp;&nbsp;&nbsp;&nbsp;张： 
                                            <br />
                                            包&nbsp;&nbsp;&nbsp;&nbsp;装： </font>
                                        </p>
                                    </td>
                                </tr>
                            </table>
                                        &nbsp;&nbsp; </font> </td>
                                </tr>
                                <tr>
                                    <td height="43">
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td align="left" valign="middle"><a href="javascript:void(0)" name="buy_book">
                                                    <img border="0" height="20" src="/Template/image/7.jpg" style="cursor:hand" width="69" id="btnAddCart" /></a> &nbsp;</td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25">&nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
       <table border="0" cellpadding="0" cellspacing="0" width="100%">
                  
                </table>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td align="center" valign="middle" width="20">
                            <img height="7" src="/Template/image/11x.jpg" /></td>
                        <td align="left" class="F25" valign="middle">心田服务承诺</td>
                    </tr>
                    <tr>
                        <td colspan="2" height="10"></td>
                    </tr>
                    <tr>
                        <td align="left" valign="top">&nbsp;</td>
                        <td align="left" class="L14" valign="top"><font class="F24">正品：心田只做正品 假一赔一<br />
                            供货：商品均由品牌商或一级经销商供货<br />
                            送货：全国送达<br />
                            运费：全中国各省市地区全部免运费<br />
                            退换货：签收15日内，商品及包装保持本网站出售时原状且配件齐全，不影响二次销售，全款退货 </font></td>
                    </tr>
                </table>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td background="/Template/image/12.jpg" height="39">&nbsp;</td>
                    </tr>
                </table>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td align="left" valign="middle" width="10">
                            <img height="7" src="/Template/image/11.jpg" width="4" /></td>
                        <td align="left" class="F25" valign="middle">目录内容</td>
                    </tr>
                    <tr>
                        <td align="left" height="25" valign="top">&nbsp;</td>
                        <td align="left" class="L15" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                        <td align="left" valign="top">&nbsp;</td>
                        <td align="left" class="L15" valign="top">出版者的话<BR>专家指导委员会<BR>中文版序<BR>译者序<BR>校译者简介<BR>序<BR>第1版序<BR>引言<BR>第1章 导言<BR>1.1 入门<BR>1.2 变量与算术表态式<BR>1.3 for语句<BR>1.4 符号常量<BR>1.5 字符输入/输出<BR>1.6 数组<BR>1.7 函数<BR>1.8 参数——传值调用<BR>1.9 字符数组<BR>1.10 外部变量与作用域<BR>第2章 类型、运算符与表达式<BR>2.1 变量名<BR>2.2 数据类型及长度<BR>2.3 常量<BR>2.4 声明<BR>2.5 算术运算符<BR>2.6 关系运算符与逻辑运算符<BR>2.7 类型转换<BR>2.8 自增运算符与自减运算符<BR>2.9 按位运算符<BR>2.10 赋值运算符与表达式<BR>2.11 条件表达式<BR>2.12 运算符优先级与求值次序<BR>第3章 控制流<BR>3.1 语句与程序块<BR>3.2 if-else语句<BR>3.3 else-if语句<BR>3.4 switch语句<BR>3.5 whil循环与for特环<BR>3.6 do-while循环<BR>3.7 break语句与continue语句<BR>3.8 goto语句与标号<BR>第4章 涵数与程序结构<BR>第5章 指针与数组<BR>第6章 结构<BR>第7章 输入与输出<BR>第8章 UNIX系统接口<BR>附录A 参考手册<BR>附录B 标准库<BR>附录C 变更小结<BR>索引 </td>
                    </tr>
                </table>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td background="/Template/image/12.jpg" height="39">&nbsp;</td>
                    </tr>
                </table>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td align="left" valign="middle" width="10">
                            <img height="7" src="/Template/image/11.jpg" width="4" /></td>
                        <td align="left" class="F25" valign="middle">内容简介</td>
                    </tr>
                    <tr>
                        <td align="left" height="25" valign="top">&nbsp;</td>
                        <td align="left" class="L15" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                        <td align="left" valign="top">&nbsp;</td>
                        <td align="left" class="L15" valign="top">本书是由C语言的设计者Brian W.Kernighan和Dennis M.Ritchie编写的一部介绍标准C语言及其程序设计方法的权威性经典著作。全面、系统地讲述了C语言的各个特性及程序设计的基本方法，包括基本概念，类型和表达式、控制流、函数与程序结构、指针与数组、结构、输入与输出、UNIX系统接口、标准库等内容。本书的讲述深入浅出，配合典型例证，通俗易懂，实用性强，适合作为大专院校计算机专业或非计算机专业的C语言教材，也可以作为从事计算机相关软硬件开发的技术人员的参考书。 </td>
                    </tr>
                </table>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td background="/Template/image/12.jpg" height="39">&nbsp;</td>
                    </tr>
                </table>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td align="left" valign="middle" width="10">
                            <img height="7" src="/Template/image/11.jpg" width="4" /></td>
                        <td align="left" class="F25" valign="middle">作者简介</td>
                    </tr>
                    <tr>
                        <td align="left" height="25" valign="top">&nbsp;</td>
                        <td align="left" class="L15" valign="top">&nbsp;</td>
                    </tr>
                    <tr>
                        <td align="left" valign="top">&nbsp;</td>
                        <td align="left" class="L15" valign="top">（美）克尼汉，（美）里奇 著，徐宝文，李志 译Desc</td>
                    </tr>
                </table>
                <style type="text/css">

A.new_A8:link {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: none
}
A.new_A8:active {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: underline
}
A.new_A8:visited {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: none
}
A.new_A8:hover {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: underline
}

</style>

                <a name="reviewsummary"></a>
                <table border="0" cellpadding="0" cellspacing="0" height="144" width="100%">
                    <tr>
                        <td align="left" valign="top">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td>&nbsp;</td>
                                </tr>
                            </table>
                            <table bgcolor="#639AC3" border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td>
                                        <table 0="" border="0" cellpadding="0" cellspacing="0" width="100%">
                                            <tr>
                                                <td height="26" width="1%">&nbsp;</td>
                                                <td align="left"><span class="F27">顾客评论 </span> </td>
                                                <td align="left" width="75">&nbsp;</td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
			    <!---->
                            <table border="0" cellpadding="0" cellspacing="0" height="23" width="100%">
                                <tr>
                                    <td >

                                        <ul id="commentList" >

                                        </ul>

                                    </td>
                                </tr>
                            </table>
                            <table bgcolor="#F5F5F5" border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td align="center" height="321" valign="middle">
                                        <table border="0" cellpadding="0" cellspacing="0" width="90">
                                            <tr>
                                                <td align="left" height="39">
                                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                        <tr>
                                                            <td align="left" height="25">我要评论</td>
                                                            <td align="right" valign="bottom">不超过2000字</td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center">
                                                    <textarea cols="90" name="nr" rows="10" id="txtComment" style="width:600px"></textarea> </td>
                                            </tr>
                                            <tr>
                                                <td align="left" height="35" valign="bottom">
                                                    <span id="userspan">
                                                  
                                                    不需要登录，点发表评论即可！ </span></td>
                                            </tr>
                                            <tr>
                                                <td align="left" height="35">
                                                    <img border="0" height="19" id="btnAddComment" src="/Template/image/12.gif" style="cursor:hand" width="64" /> </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </div>
<div id="footer">
    <table align="center" border="0" cellpadding="0" cellspacing="0" style="BORDER: #DCDADD 1px solid;" width="1100">
        <tr>
            <td height="37" rowspan="2"></td>
            <td align="left" class="style_14_000000" height="32" valign="bottom" width="150"><b>新手上路</b></td>
            <td align="left" class="style_14_000000" valign="bottom" width="150"><b>付款方式</b></td>
            <td align="left" class="style_14_000000" valign="bottom" width="150"><b>配送方式</b></td>
            <td align="left" class="style_14_000000" valign="bottom" width="150"><b>售后服务</b></td>
            <td align="left" class="style_14_000000" valign="bottom" width="150"><b>帮助中心</b></td>
        </tr>
        <tr>
            <td align="left" height="13" valign="middle">
                <img height="1" src="/Template/image/mid10.jpg" width="116" /></td>
            <td align="left" class="style_14_000000" valign="middle" width="150">
                <img height="1" src="/Template/image/mid10.jpg" width="116" /></td>
            <td align="left" class="style_14_000000" valign="middle" width="150">
                <img height="1" src="/Template/image/mid10.jpg" width="116" /></td>
            <td align="left" class="style_14_000000" valign="middle" width="150">
                <img height="1" src="/Template/image/mid10.jpg" width="116" /></td>
            <td align="left" class="style_14_000000" valign="middle" width="150">
                <img height="1" src="/Template/image/mid10.jpg" width="116" /></td>
        </tr>
        <tr>
            <td height="100" width="100">&nbsp;</td>
            <td align="left" class="style_h170" valign="top"><a class="a_12_000000" href="/Account/Register.aspx" target="_blank">新用户注册</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">怎样下订单</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">关于会员积分</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">礼券</a><a class="a_12_000000" href="javascript:void(0)" target="_blank">,礼品卡</a><br />
            </td>
            <td align="left" class="style_h170" valign="top"><a class="a_12_000000" href="javascript:void(0)" target="_blank">支付方式</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">支付期限</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">退款方式及时间</a> </td>
            <td align="left" class="style_h170" valign="top"><a class="a_12_000000" href="javascript:void(0)" target="_blank">运费收取标准</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">配送时间及配送范围</a> </td>
            <td align="left" class="style_h170" valign="top"><a class="a_12_000000" href="javascript:void(0)" target="_blank">服务保障承诺</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">退换货政策</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">退换货流程</a> </td>
            <td align="left" class="style_h170" valign="top"><a class="a_12_000000" href="javascript:void(0)" target="_blank">常见问题</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">找回密码</a><br />
                <a class="a_12_000000" href="javascript:void(0) target="_blank">顾客建议</a><br />
                <a class="a_12_000000" href="javascript:void(0)" target="_blank">顾客投诉</a><br />
            </td>
        </tr>
    </table>
            </div>
</center>
   <!-- 
  
-->
 <div id="dialog-message" title="错误提示!!">
	<span id="showUserLoginMsg" style="font-size:14px;color:red"></span>
     <a href="javascript:void(0)" id="locationLogin">请登录</a>
</div>

    <div id="showDialogMessage">
        <span id="showCartMsg"></span>
        <a href="/Cart.aspx">去购物车结账</a><br />
        <a href="/BookList.aspx">继续购物</a>
    </div>
    
</body>

</html>
